
package tetris.pieces;

import java.awt.Color;
import java.awt.Point;

/**
 * This class represents my O shape.
 * 
 * @author Agari NLN (agarin@uw.edu)
 * @version 1.0
 */
public class O_Shape extends AbstractShape
{

  /**
   * Setting the default and rotated shapes for my O shape.
   * 
   * @param the_position The position relative to the board.
   */
  public O_Shape(final Point the_position)
  {
    super(the_position);
    my_shape[0][0] = true;
    my_shape[1][0] = true;
    my_shape[0][1] = true;
    my_shape[1][1] = true;
    my_color = Color.PINK;
  }

  @Override
  public void rotateRight()
  {
    // performance optimization to do nothing for block shape
  }

  @Override
  public void rotateLeft()
  {
    // performance optimization to do nothing for block shape
  }
}
